﻿namespace Farming.ConsoleDemo
{
    public class Program
    {
        static void Main(string[] args)
        {
            string[] names = new string[] { "Tom", "Jerry", "Mike", "Lucy" };
            string n = GetNames(names);
            Console.WriteLine(n);
            Console.ReadLine();
        }
        static string GetNames(params string[] names)
        {
           return string.Join(",", names);
        }


    }
}
